home *** CD-ROM | disk | FTP | other *** search
/ SGI Hot Mix 18 / Silicon_Graphics_hot mix 18.iso / html / hotmix / check4java.csh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  1998-03-04  |  369 b   |  9 lines

  1. #!/bin/csh
  2.  
  3. set v=`versions | grep java_eoe`
  4. if ("$v" != "") then 
  5.     set junk=`$HOTMIXDIR/.bin/xconfirm -icon info -t "You HAVE the java execution environment installed." -B OK -header "No need to install"`
  6. else
  7.     set junk=`$HOTMIXDIR/.bin/xconfirm -icon action -t "You do NOT have the java execution environment installed." -B OK -header "You need to install..."`
  8. endif
  9.